home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Utilities Professional 1-1500
/
Utilities Professional 1-1500 (1994)(WPD)[!].iso
/
12511500
/
var1461.dms
/
var1461.adf
/
GraphicalTricks
/
Example6.c
< prev
next >
Wrap
Text File
|
1992-05-18
|
4KB
|
93 lines
/***********************************************************/
/* */
/* Amiga C Encyclopedia (ACE) V3.0 Amiga C Club (ACC) */
/* ------------------------------- ------------------ */
/* */
/* Book: ACM Graphics Amiga C Club */
/* Chapter: GraphicalTricks Tulevagen 22 */
/* File: Example6.c 181 41 LIDINGO */
/* Author: Anders Bjerin SWEDEN */
/* Date: 92-04-29 */
/* Version: 1.00 */
/* */
/* Copyright 1992, Anders Bjerin - Amiga C Club (ACC) */
/* */
/* Registered members may use this program freely in their */
/* own commercial/noncommercial programs/articles. */
/* */
/***********************************************************/
/* This example demonstrates how to scroll a large mountain. */
/* The mountain is much wider than the screen. We can */
/* therefore only see a part of the mountain as we scroll it. */
/* */
/* Note that the mountain is sometimes "flashing"! The reason */
/* why this happens is that we are scrolling the mountain at */
/* the same time as we display it. If we are unlucky we have */
/* only scrolled some of the BitPlanes when the mountain is */
/* redrawn, and thus the wrong coulours are used. (When we */
/* scroll a RastPort we actually move the BitPlanes */
/* separately. If you are using a display with a lot of */
/* colours, BitPlanes, it may happen that we do not manage to */
/* move all of them within one display frame.) */
/* */
/* To avoid this flickering we need to use a double buffered */
/* display, where we show one of the screens as we scroll and */
/* redraw the other. See next example. */
I am sorry but this file is only available for registered
members.
The registration fee is only £30, $60, SEK 300, or similar
amount in your own currency (price includes everything). The
Amiga C Encyclopedia is the largest collection of documents,
examples and utilities in C for the Amiga and it is still among
the cheapest manuals. But this is not all, a registered owner
will also get:
1. Two disks containing the last parts of the encyclopedia.
The disks will be sent by first class air mail.
2. Registration card for the Amiga C Club (ACC).
3. Immediate information about updates.
4. Updated versions of the encyclopedia for only the cost of
disks plus postage and packing.
5. Assistance with digitizing colour pictures and sampling
sound effects.
6. Unlimited help with your C programs. You never have to be
alone with your problems.
7. The right to use parts of the manual in your own
commercial/non-commercial programs/articles.
Can any other manual give you all this???
The simplest way of paying is to include the money in a letter
in cash. US dollar bills, English pounds or Swedish SEK are
preferred, but all currencies are accepted. You can also send
the money as a "Postal Money Order", ask your local bank or
post office. Please do not use cheques. It is sadly extremely
expensive to cash a foreign cheque here in Sweden.
If you live in Scandinavia you can send the money to "Svenska
Post Girot, postgiro konto: 641 88 30 - 3, betalnings-
mottagare: Datra".
Please send the registration fee together with your complete
address to:
Datra, Amiga C Club
Anders Bjeri
Tulevagen 22
181 41 LIDINGO
SWEDEN
I have worked for more than four years now with this
encyclopedia, and with your help I can continue to improve it.
Happy programming!!!